package com.koine.common;

import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 通用mapper顶层DAO
 */

public interface IBaseDAO<T> extends Mapper<T> {
    /**
     * 根据分页参数查询数据集合
     *
     * @param entity
     * @return List集合
     * @throws Exception
     * @author hermit
     * @date 2018 -02-23 09:44:49
     */
    List<T> queryListByPage(T entity)
            throws Exception;
}
